package com.panshi.service;

import com.panshi.pojo.Employee;

import java.util.Collection;

public interface IEmployeeService {
    //增加一个员工
    public void save(Employee employee);

    public void update(Employee employee);

    //查询全部员工
    public Collection<Employee> getAll();

    public Employee getEmployeeById(Integer id);

    public void delete(Integer id);

    public void updateRedis();

}
